package com.bdzl.pub.entity.sys;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;



/**
 * 系统日志表
 *
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-03-23 13:59:22
 */
@Data
public class LogDO implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键 ID，自增
	private Integer logId;
	//用户 ID
	private Integer logUserId;
	//用户名
	private String logUserName;
	//操作说明
	private String logOper;
	//响应时间，单位毫秒
	private Integer logRespTime;
	//请求方法
	private String logMethod;
	//请求参数
	private String logParam;
	//请求 IP
	private String logIp;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone="GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date logCreTime;
}
